﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class PhanLop
    {
        private Guid _id;
        private Guid _classID = Guid.Empty;
        private Guid _studentID = Guid.Empty;
        private Guid _schoolYearID = Guid.Empty;
        private DateTime _startDate;
        private DateTime _enđate;

        public PhanLop()
        {
        }

        public PhanLop(  Guid _id,
         Guid _classID ,
         Guid _studentID ,
         Guid _schoolYearID ,
         DateTime _startDate,
         DateTime _endate)
        {
            Id = _id;
            ClassID = _classID;
            StudentID = _studentID;
            SchoolYearID = _schoolYearID;
            StartDate = _startDate;
            Endate = _endate;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public Guid ClassID
        {
            get { return _classID; }
            set { _classID = value; }
        }

        public Guid StudentID
        {
            get { return _studentID; }
            set { _studentID = value; }
        }

        public Guid SchoolYearID
        {
            get { return _schoolYearID; }
            set { _schoolYearID = value; }
        }

        public DateTime StartDate
        {
            get { return _startDate; }
            set { _startDate = value; }
        }

        public DateTime Endate 
        {
            get { return _enđate; }
            set { _enđate = value; }
        }
        #endregion
    }
}
